package com.jiangjiang.eshop.promotion.dto;

import com.jiangjiang.eshop.commodity.domain.GoodsPropertyValueEntity;
import com.jiangjiang.eshop.commodity.dto.GoodsPropertyValueDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName GoodsPropertyValueConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/2 23:31
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface GoodsPropertyValueConvert {

    List<GoodsPropertyValueDTO> convertEntities2DTOList(List<GoodsPropertyValueEntity> list);

    List<GoodsPropertyValueEntity> convertDTOList2Entities(List<GoodsPropertyValueDTO> propertyValues);
}
